﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TRPOP.Common;

namespace TRPOP.CMS.Publish
{
    public class PubTaskKeys
    {
        /// <summary>
        /// 模板类型
        /// </summary>
        public enum TaskStatusType
        {
            /// <summary>
            /// 尚未开始
            /// </summary>
            IsNotStarted = 1,
            /// <summary>
            /// 执行成功
            /// </summary>
            IsExecuteSuccess = 2,
            /// <summary>
            /// 执行失败
            /// </summary>
            IsExecuteError = 3,
            /// <summary>
            /// 程序执行失败
            /// </summary>
            IsProgrameError = 4,
            /// <summary>
            /// 执行成功并且已经显示给用户
            /// </summary>
            IsShowed = 5,
            /// <summary>
            /// 取消任务
            /// </summary>
            IsCanceled = 6
        }
    }
}
